package com.zd.xa.multi.datasource.controller;

import com.zd.xa.multi.datasource.mapper.admin.AdminMapper;
import com.zd.xa.multi.datasource.service.TranseFerMoney;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class XaDemoController {

    @Autowired
    TranseFerMoney transeFerMoney;




    @RequestMapping("/xaDemo")
    public String xaDemo(double money,double money1){
        transeFerMoney.transferMoney(money,money1);

        return "success";
    }
}
